package com.xuecheng.content.service;

import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

/**
 * @author hand4j
 * @version 1.0
 * @description 师资管理业务接口
 * @date 2023/3/14 19:17
 */
public interface CourseTeacherService {
    /**
     * @description 师资查询接口
     * @param courseId 课程id
     * @return java.util.List<com.xuecheng.content.model.po.CourseTeacher>
     * @author hand4j
     * @date 2023/3/15 16:43
    */
    List<CourseTeacher> queryCourseTeacherList(Long courseId);

    /**
     * @description 添加或修改师资信息
     * @param courseTeacher
     * @return com.xuecheng.content.model.po.CourseTeacher
     * @author hand4j
     * @date 2023/3/15 16:43
    */
    CourseTeacher saveCourseTeacher(CourseTeacher courseTeacher);

    /**
     * @description 删除师资信息
     * @param courseId 课程id
     * @param id 教师id
     * @return void
     * @author hand4j
     * @date 2023/3/15 17:01
    */
    void deleteCourseTeacher(Long courseId, Long id);

    /**
     * @description 根据课程id删除师资信息
     * @param courseId 课程id
     * @return void
     * @author hand4j
     * @date 2023/3/15 17:01
     */
    void deleteCourseTeacherByCourseId(Long courseId);
}
